home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freaks Macintosh Archive
/
Freaks Macintosh Archive.bin
/
Freaks Macintosh Archives
/
Hacking & Misc
/
Mac Satellite.sit
/
Mac Satellite
/
MacSeason9 v1.7
/
MacSeason9v1.7
/
MacSeason9.src
/
MacSeason9.h
< prev
next >
Wrap
Text File
|
1995-08-14
|
1KB
|
80 lines
typedef struct myVCprefs {
short decode;
short processReset;
short byte;
short kernelCount;
short whichPort;
short debug;
short tvMsgs;
short fullDecode;
short endless;
short normDisplay;
} vcPrefs;
#define mbMenuBar 128
#define mApple 128
#define iAbout 1
#define mFile 129
#define iQuit 1
#define mEdit 130
#define iUndo 1
#define iCut 3
#define iCopy 4
#define iPaste 5
#define iClear 6
#define mCrypt 131
#define iFulltime 1
#define iDebug 2
#define iTVMsgs 3
#define iFullDecode 4
#define iNormDisplay 5
#define iSetPrefs 7
#define iSetShutdown 8
#define aCtl 2
#define bCtl 0
#define kWaitReset 1
#define kClearReset 2
#define kProcessReset 3
#define kRecvHeader 4
#define kDecodeHeader 5
#define kRecvData 6
#define kProcessData 7
#define kSendData 8
#define kPortA 0
#define kPortB 1
/* message directions */
#define IN 0 /* to card */
#define OUT 1 /* to decoder */
#define dlgDelays 128
#define dlyFirstInp 4
#define dlyDecode 4
#define dlyReset 5
#define dlyByte 6
#define dlyKernCnt 7
#define dlyLastInp 7
#define prfModem 8
#define prfPrinter 9
#define dlgShutdown 129
#define shdTime 4
#define PREFRESTYPE 'pref'
#define PREFRESID 128
void DoMenuCommand( long menuResult);
void delay(short theTime);
void SetState(short newState);
void CheckEvent( void );
void DrawNanos(unsigned char *theNanos);
short send(unsigned char *theData, short byteCount);